﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 堆（展示用）
    /// </summary>
    public class VSortStackItem
    {
        /// <summary>
        /// 车间代码
        /// </summary>
        public string WorkshopCode { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public int MachineId { get; set; }

        /// <summary>
        /// 设备编码
        /// </summary>
        public string MachineNo { get; set; }

        /// <summary>
        /// 堆序号
        /// </summary>
        public int StackNo { get; set; }

        /// <summary>
        /// 满托数
        /// </summary>
        public int FullCount { get; set; }

        /// <summary>
        /// 当前块数
        /// </summary>
        public int SortNo { get; set; }

        /// <summary>
        /// 是否最后一次分拣堆
        /// </summary>
        public bool LastSort { get; set; }

        /// <summary>
        /// 规则列表
        /// </summary>
        public List<KeyValuePair<string, string>> Rules { get; set; } = new List<KeyValuePair<string, string>>();
    }
}
